package co.yixiang.yshop.module.tables.controller.admin.reservation.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import co.yixiang.yshop.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static co.yixiang.yshop.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 预约记录 Excel 导出 Request VO，参数和 ReservationPageReqVO 是一致的")
@Data
public class ReservationExportReqVO {

    @Schema(description = "预约的餐桌ID", example = "1")
    private Integer tableId;

    @Schema(description = "预约人姓名", example = "张三")
    private String customerName;

    @Schema(description = "预约人联系电话")
    private String contactNumber;

    @Schema(description = "预约时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] reservationTime;

    @Schema(description = "用餐人数")
    private Short numberOfGuests;

    @Schema(description = "预约状态（1:已确认, 2:已取消, 3:待确认）", example = "2")
    private Byte reservationStatus;

    @Schema(description = "支付状态（1:已支付, 2:未支付, 3:部分支付）", example = "1")
    private Byte paymentStatus;

    @Schema(description = "预约备注信息（如特殊要求、优惠券使用等）")
    private String notes;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
